package com.ims.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author yekka1
 * @description: TODO
 * @date 2022/9/7 20:20
 */

@TableName(value = "table_user_role")
public class UserRoleCor {
    @TableField(value = "user_id")
    private int userId;

    @TableField(value = "role_id")
    private int roleId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UserRoleCor{" +
                "userId=" + userId +
                ", roleId=" + roleId +
                '}';
    }
}
